package model.item;

import model.mapping.ItemMapping;

public class FoodItem extends ResourceItem
{
	public FoodItem(ItemMapping im, int amount)
	{
		super("FOOD_ITEM", im, amount);
	}
	
	public void affect(ItemUser p) {
		p.giveFood(getResourceAmount());
	}

}
